package com.huilian.iotbox.client.service;

import com.huilian.iotbox.data.po.OrderItem;
import com.huilian.iotbox.data.vo.OrderItemVo;

import java.util.List;

public interface OrderItemService {
    void add(OrderItem orderItem);

    void updateStatus(OrderItem orderItem);

    void update(OrderItem orderItem);


    List<OrderItem> getOrderItemById(Long orderId);

    List<OrderItemVo> getCommodityAndOrderItemByOrderId(Long orderId);

}
